package com.zp.common.base.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zp.common.base.entity.AuthInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface AuthRepository extends BaseMapper<AuthInfo> {
    @Select("select * from t_auth where url=#{url} and status=#{status}")
    AuthInfo findByUrlAndStatus(@Param("url") String url,@Param("status") Integer status);
}
